package com.aispeech.asr.apis.detection.domain;

import java.util.List;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@AllArgsConstructor
@NoArgsConstructor
public class EventDetection {
    private String event;
    private Double confidence;
    private List<EventDetectionTime> time;
 
    @Data
	@Accessors(chain = true)
	public static class EventDetectionTime {
    	private Long startTime; 
    	private Long endTime; 
    }
    
}